package com.nq.service;

import com.nq.common.ServerResponse;
import com.nq.pojo.StLimitUpStock;
import com.nq.pojo.StockDz;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nq.pojo.StockDzPo;
import com.nq.pojo.vo.StLimitUpStockVo;
import com.nq.vo.stock.StockVO;
import org.mybatis.spring.SqlSessionTemplate;

import javax.annotation.Resource;
import java.math.BigDecimal;

/**
* @author Administrator
* @description 针对表【stock_dz】的数据库操作Service
* @createDate 2022-12-03 17:09:01
*/
public interface StockDzService extends IService<StockDz> {

    ServerResponse getDzList(int pageNum, int pageSize);

    ServerResponse addByAdmin(String market, String stockCode, String stockNum, String password, String startTime, String endTime, String discount,Integer time);

    ServerResponse getDzListByAdmin(int pageNum, int pageSize, String keywords);

    ServerResponse updByAdmin(StockDzPo model);

    ServerResponse deleteByAdmin(String id);


    ServerResponse addLimitUpStock(String market, String stockCode, String password, Integer stockNum, String startTime, String endTime);

    ServerResponse deleteLimitUpStock(String id);

    ServerResponse updateLimitUpStock(StLimitUpStockVo model);

    ServerResponse getLimitUpStock(int pageNum, int pageSize, String keywords);

    ServerResponse getDzDetails(int dzId);
}
